<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id=box>0</div>
    <button id=btn>+</button>
    <button id=btn1>-</button>
    <script>
        var obox =document.getElementById('box')
        var obtn =document.getElementById('btn')
        var obtn1 =document.getElementById('btn1')
        

    </script>
    <!-- <div id="box" style="background-color: red; height: 100px;width: 100px;">不问归期</div>
    <button id="btn">点击换背景色</button> -->
    <!-- <script>
        var obtn =document.getElementById("btn")
        var obox =document.getElementById('box')
        obtn.onclick = function(){
           obox.style.backgroundColor="yellow"
           obox.style.fontSize="50px"
        }
    </script> -->
</body>
</html>